<?php


namespace Soen\Esign\Evidence\Adapter\Tp;


use Soen\Esign\Config;
use Soen\Esign\Evidence\Adapter\AdapterInterface;
use Soen\Esign\Http;
use Soen\Esign\Provider;
use think\console\Command;
use think\console\Input;
use think\console\Output;

class EviCreateSqlCommand extends Command
{
    public $http;
    public $config;
    /**
     * @var AdapterInterface
     */
    public $adapter;
//    public function __construct(Http $http,Config $config,$evidenceCategoryModel,$evidencePointModel,$evidenceSceneModel)
//    {
//        $this->http = $http;
//        $this->config = $config;
//        if($this->eviConfig['frame'] == 'tp6'){
//            $this->adapter = new TpAdapter($this->http, $this->config, $evidenceCategoryModel,$evidencePointModel,$evidenceSceneModel);
//        }
//    }



    protected function configure()
    {
        $this->setName('hello');
    }

    protected function execute(Input $input, Output $output)
    {
        $provider = new Provider();
        $objectEvidence = $provider->objectEvidence();
        $objectEvidence->dictionary();
        $output->writeln("存证数据字典更新完毕");
    }


//    public function createCategory()
//    {
//        $this->adapter->createCategory();
//    }
//    public function createScene()
//    {
//
//    }
//    public function createPoint()
//    {
//
//    }
}